<template>
  <div class="edit-popup">
    <el-dialog v-model="props.AllocatioDia" title="Tips" width="500" :before-close="handleClose">
      <span>This is a message</span>
      <template #footer>
        <div class="dialog-footer">
          <el-button @click="dialogVisible = false">Cancel</el-button>
          <el-button type="primary" @click="dialogVisible = false">Confirm</el-button>
        </div>
      </template>
    </el-dialog>
  </div>
</template>

<script lang="ts" setup name="zgActivityEdit">
import { ref, defineProps } from "vue";
import { ElMessageBox } from "element-plus";
const emit = defineEmits(["success", "close"]);
const props = defineProps({
  AllocatioDia: Boolean,
});
const dialogVisible = ref(false);

const handleClose = (done: () => void) => {
  emit("close");
};
</script>
